/****************************************************************************
**
** SelectFontGump.h
**
** Copyright (C) August 2014 Hotride
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
**
*****************************************************************************
*/
//---------------------------------------------------------------------------
#ifndef SelectFontGumpH
#define SelectFontGumpH
//---------------------------------------------------------------------------
class TSelectFontGump
{
private:
	short m_X;
	short m_Y;
	SELECT_FONT_GUMP_STATE m_State;

public:
	TSelectFontGump();
	~TSelectFontGump() {}
	
	SETGET(short, X)
	SETGET(short, Y)

	void Init(SELECT_FONT_GUMP_STATE State);
	
	int Draw(bool &mode, TGump *gump);

	void GenerateFrame(TGump *gump, float PosX, float PosY);

	void OnButtonUp();
};
//---------------------------------------------------------------------------
#endif